SmartCrawl\Redirects\Database_Table A

Total Complexity 54
Dependencies 3
Dependents 9
Total lines 540
Lines of code 277
Logical lines of code 117
Comment lines 173
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
insert_redirects()
S
48 5 37
update_redirects()
S
52 4 25
upgrade_table()
S
54 4 22
map_row_to_model()
S
55 4 21
create_table()
S
54 3 24
save_redirect()
S
56 3 21
delete_redirects()
S
62 3 11
map_model_to_row()
S
59 2 15
get_raw_redirects()
S
62 3 10
get_redirects()
S
70 2 6
options_to_string()
S
71 2 6
options_to_array()
S
71 2 6
get_deflated_redirects()
S
70 2 6
get_redirects_by_path()
S
67 2 7
get_redirects_by_source_regex()
S
67 2 7
formats()
S
66 1 11
delete_redirect()
S
74 1 4
get_redirect_by_source()
S
71 1 5
get_redirect()
S
71 1 5
drop_table()
S
75 1 4
get_count()
S
75 1 4
map_row_to_deflated()
S
76 1 4
delete_all()
S
75 1 4
table_exists()
S
75 1 4
get_table_name()
S
76 1 4
get_redirect_count()
S
75 1 4